import React, { PureComponent } from 'react'
import withRouter from '../hoc/withRouter'

export class detail extends PureComponent {
  render() {
    const { router } = this.props
    return (
      <h1>{router.params.id}</h1>
    )
  }
}

export default withRouter(detail) 